package com.myblog.utils;

import java.util.HashMap;
import java.util.List;

public class LayUiUtil extends HashMap {

    public static HashMap data(Integer code, String msg, List data, Integer count) {
        HashMap map = new HashMap();
        map.put("code", code);
        map.put("msg", msg);
        map.put("count", count);
        map.put("data", data);
        System.out.println(map);
        return map;
    }
}